package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class ClassAssistantExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClassAssistantExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTaskidIsNull() {
            addCriterion("taskId is null");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNotNull() {
            addCriterion("taskId is not null");
            return (Criteria) this;
        }

        public Criteria andTaskidEqualTo(Integer value) {
            addCriterion("taskId =", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotEqualTo(Integer value) {
            addCriterion("taskId <>", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThan(Integer value) {
            addCriterion("taskId >", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskId >=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThan(Integer value) {
            addCriterion("taskId <", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThanOrEqualTo(Integer value) {
            addCriterion("taskId <=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidIn(List<Integer> values) {
            addCriterion("taskId in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotIn(List<Integer> values) {
            addCriterion("taskId not in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidBetween(Integer value1, Integer value2) {
            addCriterion("taskId between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotBetween(Integer value1, Integer value2) {
            addCriterion("taskId not between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andClassidIsNull() {
            addCriterion("classId is null");
            return (Criteria) this;
        }

        public Criteria andClassidIsNotNull() {
            addCriterion("classId is not null");
            return (Criteria) this;
        }

        public Criteria andClassidEqualTo(Integer value) {
            addCriterion("classId =", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotEqualTo(Integer value) {
            addCriterion("classId <>", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidGreaterThan(Integer value) {
            addCriterion("classId >", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("classId >=", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidLessThan(Integer value) {
            addCriterion("classId <", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidLessThanOrEqualTo(Integer value) {
            addCriterion("classId <=", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidIn(List<Integer> values) {
            addCriterion("classId in", values, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotIn(List<Integer> values) {
            addCriterion("classId not in", values, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidBetween(Integer value1, Integer value2) {
            addCriterion("classId between", value1, value2, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotBetween(Integer value1, Integer value2) {
            addCriterion("classId not between", value1, value2, "classid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidIsNull() {
            addCriterion("classAssistantId is null");
            return (Criteria) this;
        }

        public Criteria andClassassistantidIsNotNull() {
            addCriterion("classAssistantId is not null");
            return (Criteria) this;
        }

        public Criteria andClassassistantidEqualTo(String value) {
            addCriterion("classAssistantId =", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidNotEqualTo(String value) {
            addCriterion("classAssistantId <>", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidGreaterThan(String value) {
            addCriterion("classAssistantId >", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidGreaterThanOrEqualTo(String value) {
            addCriterion("classAssistantId >=", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidLessThan(String value) {
            addCriterion("classAssistantId <", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidLessThanOrEqualTo(String value) {
            addCriterion("classAssistantId <=", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidLike(String value) {
            addCriterion("classAssistantId like", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidNotLike(String value) {
            addCriterion("classAssistantId not like", value, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidIn(List<String> values) {
            addCriterion("classAssistantId in", values, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidNotIn(List<String> values) {
            addCriterion("classAssistantId not in", values, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidBetween(String value1, String value2) {
            addCriterion("classAssistantId between", value1, value2, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andClassassistantidNotBetween(String value1, String value2) {
            addCriterion("classAssistantId not between", value1, value2, "classassistantid");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionIsNull() {
            addCriterion("taskDefinition is null");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionIsNotNull() {
            addCriterion("taskDefinition is not null");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionEqualTo(String value) {
            addCriterion("taskDefinition =", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionNotEqualTo(String value) {
            addCriterion("taskDefinition <>", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionGreaterThan(String value) {
            addCriterion("taskDefinition >", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionGreaterThanOrEqualTo(String value) {
            addCriterion("taskDefinition >=", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionLessThan(String value) {
            addCriterion("taskDefinition <", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionLessThanOrEqualTo(String value) {
            addCriterion("taskDefinition <=", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionLike(String value) {
            addCriterion("taskDefinition like", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionNotLike(String value) {
            addCriterion("taskDefinition not like", value, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionIn(List<String> values) {
            addCriterion("taskDefinition in", values, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionNotIn(List<String> values) {
            addCriterion("taskDefinition not in", values, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionBetween(String value1, String value2) {
            addCriterion("taskDefinition between", value1, value2, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTaskdefinitionNotBetween(String value1, String value2) {
            addCriterion("taskDefinition not between", value1, value2, "taskdefinition");
            return (Criteria) this;
        }

        public Criteria andTasktimeIsNull() {
            addCriterion("taskTime is null");
            return (Criteria) this;
        }

        public Criteria andTasktimeIsNotNull() {
            addCriterion("taskTime is not null");
            return (Criteria) this;
        }

        public Criteria andTasktimeEqualTo(String value) {
            addCriterion("taskTime =", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotEqualTo(String value) {
            addCriterion("taskTime <>", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeGreaterThan(String value) {
            addCriterion("taskTime >", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeGreaterThanOrEqualTo(String value) {
            addCriterion("taskTime >=", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeLessThan(String value) {
            addCriterion("taskTime <", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeLessThanOrEqualTo(String value) {
            addCriterion("taskTime <=", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeLike(String value) {
            addCriterion("taskTime like", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotLike(String value) {
            addCriterion("taskTime not like", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeIn(List<String> values) {
            addCriterion("taskTime in", values, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotIn(List<String> values) {
            addCriterion("taskTime not in", values, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeBetween(String value1, String value2) {
            addCriterion("taskTime between", value1, value2, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotBetween(String value1, String value2) {
            addCriterion("taskTime not between", value1, value2, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIsNull() {
            addCriterion("taskEndTime is null");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIsNotNull() {
            addCriterion("taskEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeEqualTo(String value) {
            addCriterion("taskEndTime =", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotEqualTo(String value) {
            addCriterion("taskEndTime <>", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeGreaterThan(String value) {
            addCriterion("taskEndTime >", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeGreaterThanOrEqualTo(String value) {
            addCriterion("taskEndTime >=", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeLessThan(String value) {
            addCriterion("taskEndTime <", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeLessThanOrEqualTo(String value) {
            addCriterion("taskEndTime <=", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeLike(String value) {
            addCriterion("taskEndTime like", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotLike(String value) {
            addCriterion("taskEndTime not like", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIn(List<String> values) {
            addCriterion("taskEndTime in", values, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotIn(List<String> values) {
            addCriterion("taskEndTime not in", values, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeBetween(String value1, String value2) {
            addCriterion("taskEndTime between", value1, value2, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotBetween(String value1, String value2) {
            addCriterion("taskEndTime not between", value1, value2, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonIsNull() {
            addCriterion("taskDistributionPerson is null");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonIsNotNull() {
            addCriterion("taskDistributionPerson is not null");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonEqualTo(String value) {
            addCriterion("taskDistributionPerson =", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonNotEqualTo(String value) {
            addCriterion("taskDistributionPerson <>", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonGreaterThan(String value) {
            addCriterion("taskDistributionPerson >", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonGreaterThanOrEqualTo(String value) {
            addCriterion("taskDistributionPerson >=", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonLessThan(String value) {
            addCriterion("taskDistributionPerson <", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonLessThanOrEqualTo(String value) {
            addCriterion("taskDistributionPerson <=", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonLike(String value) {
            addCriterion("taskDistributionPerson like", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonNotLike(String value) {
            addCriterion("taskDistributionPerson not like", value, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonIn(List<String> values) {
            addCriterion("taskDistributionPerson in", values, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonNotIn(List<String> values) {
            addCriterion("taskDistributionPerson not in", values, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonBetween(String value1, String value2) {
            addCriterion("taskDistributionPerson between", value1, value2, "taskdistributionperson");
            return (Criteria) this;
        }

        public Criteria andTaskdistributionpersonNotBetween(String value1, String value2) {
            addCriterion("taskDistributionPerson not between", value1, value2, "taskdistributionperson");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}